<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript">

        window.onload = function (){
            //现在需要我们使用Js代码创建标签并显示
            var divObj = document.createElement("div");
            divObj.innerHTML = "国哥你真牛";
            //添加子元素
            document.body.appendChild(divObj);

        }


    </script>
</head>
<body>


</body>
</html>